package com.ruoyi.project.channel.channelScore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 跑分码商表 channel_score
 * 
 * @author CAIN
 * @date 2019-10-21
 */
public class ChannelScore extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Long userId;
	/** 费率 */
	private BigDecimal rate;
	/** 上级代理 */
	private Long pid;
	/** 可用金额 */
	private BigDecimal amount;
	/** 代理级别 */
	private Integer level;
	/** 在线 0 不在线 1在线 */
	private String online;
	/** 在线 0 不在线 1在线 */
	private String qq;
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setRate(BigDecimal rate) 
	{
		this.rate = rate;
	}

	public BigDecimal getRate() 
	{
		return rate;
	}
	public void setPid(Long pid) 
	{
		this.pid = pid;
	}

	public Long getPid() 
	{
		return pid;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}

	public Integer getLevel() 
	{
		return level;
	}
	public void setOnline(String online) 
	{
		this.online = online;
	}

	public String getOnline() 
	{
		return online;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("rate", getRate())
            .append("pid", getPid())
            .append("amount", getAmount())
            .append("level", getLevel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("online", getOnline())
            .toString();
    }

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}
}
